<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head lang="en">
    <meta charset="UTF-8" />
    <title></title>
</head>

<h1 align="center">用户登陆界面</h1>
<form action="/user/userlogin" method="post">

    <table align="center" border="1">
        <tr>
            <td>用户名:</td><td><input type="text" name="username" /> </td></tr>

        <tr><td>密码:</td><td><input type="password" name="password" /> </td></tr>

        <tr><td></td><td> <input type="submit"   value="登陆" />   <a href="/user/userreg">注册</a> </td></tr>
 </table>


    <div align="center"><a th:text="'返回代码'+${code}" ></a> <br>   <a th:text="${message}" ></a></div>
</form>
</body>
</html>